@import "./tools.less";

.content {
  .auto {
    padding-bottom: 50px !important;
    position: relative;
    overflow: hidden;
    a:last-child {
      position: absolute;
      top: 18px;
      right: 10px;
      border-radius: 4px;
      background-color: @hvColor;
      border: none;
      color: white;
      text-align: center;
      font-size: 17px;
      width: 100px;
      height: 40px;
      line-height: 40px;
      transition: all 0.5s;
      cursor: pointer;
      margin: 5px;
      span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
        &:after {
          content: "»";
          position: absolute;
          opacity: 0;
          top: 0;
          right: -15px;
          transition: 0.5s;
        }
      }
      &:hover {
        background-color: @tmColor;
      }
      &:hover span {
        padding-right: 15px;
      }
      &:hover span:after {
        opacity: 1;
        right: 0;
      }
    }
  }
  .wrapContent {
    margin-bottom: 10px;
    padding: 20px 0 10px;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid @hvColor;
    .left {
      float: left;
      width: 150px;
      margin-right: 20px;
      height: 100px;
      position: relative;
      .face {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: absolute;
        top: -20px;
        a {
          display: inline-block;
          width: 100px;
          height: 100px;
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
          img {
            display: inline-block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            background-color: #999;
          }
        }
      }
      .name {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
      }
    }
    .right {
      float: left;
      width: 770px;
      .title {
        border-bottom: 1px solid #f2f2f2;
        overflow: hidden;
        padding: 0 20px 10px;
        h2 {
          float: left;
          font-size: 22px;
        }
        p {
          float: right;
          color: #999;
        }
      }
      .pubdate {
        margin: 10px 0 20px;
        padding: 0 30px;
        p {
          color: #999;
          display: inline-block;
        }
        .floor {
          float: right;
          color: #dd5145;
        }
      }
      .context {
        width: 90%;
        margin: 0 auto;
        text-indent: 2rem;
        line-height: 1.5rem;
        .quote {
          background-color: #eee;
          padding: 5px;
          box-sizing: border-box;
        }
      }
    }
  }
  #wrapContent {
    border-bottom: 4px double @hvColor;
    margin: 10px 0 20px;
    padding-bottom: 20px;
  }
}
